[INFO] fetching crate perfmon 0.2.2...
[INFO] checking perfmon-0.2.2 against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770
[INFO] extracting crate perfmon 0.2.2 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate perfmon 0.2.2
[INFO] finished tweaking crates.io crate perfmon 0.2.2
[INFO] tweaked toml for crates.io crate perfmon 0.2.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate perfmon 0.2.2 on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate perfmon 0.2.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 35eea84d867f685b5cdf82d2fdb649101682f8b49bd78ad62543c7648a0c9bfb
[INFO] running `Command { std: "docker" "start" "-a" "35eea84d867f685b5cdf82d2fdb649101682f8b49bd78ad62543c7648a0c9bfb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "35eea84d867f685b5cdf82d2fdb649101682f8b49bd78ad62543c7648a0c9bfb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "35eea84d867f685b5cdf82d2fdb649101682f8b49bd78ad62543c7648a0c9bfb", kill_on_drop: false }`
[INFO] [stdout] 35eea84d867f685b5cdf82d2fdb649101682f8b49bd78ad62543c7648a0c9bfb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f33576beeab8696014b1d0ae221dcdf6a4c4ba259395aadd1f6c778152ef728e
[INFO] running `Command { std: "docker" "start" "-a" "f33576beeab8696014b1d0ae221dcdf6a4c4ba259395aadd1f6c778152ef728e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling rustix v0.38.32
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]    Compiling cc v1.0.92
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling unicode-width v0.1.11
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling libloading v0.8.3
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling clang-sys v1.7.0
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling bindgen v0.59.2
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling portable-atomic v1.6.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]    Compiling syn v2.0.58
[INFO] [stderr]    Compiling anyhow v1.0.81
[INFO] [stderr]    Compiling procfs v0.16.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]     Checking flate2 v1.0.28
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking fastrand v2.0.2
[INFO] [stderr]     Checking chrono v0.4.37
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]     Checking procfs-core v0.16.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]     Checking addr2line v0.21.0
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling env_logger v0.9.3
[INFO] [stderr]    Compiling perfmon v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Error` and `Result`
[INFO] [stdout]  --> src/mem/process_memory_info.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{Error, Result};
[INFO] [stdout]   |               ^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `utils::*`
[INFO] [stdout]   --> src/lib.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use utils::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error` and `Result`
[INFO] [stdout]  --> src/mem/process_memory_info.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{Error, Result};
[INFO] [stdout]   |               ^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `utils::*`
[INFO] [stdout]   --> src/lib.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | use utils::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `test`
[INFO] [stdout]  --> src/lib.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | extern crate test;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
[INFO] [stdout]   = help: add `#![feature(test)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2025-07-18; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `fd::android_linux::fd_count_cur`
[INFO] [stdout]   --> src/fd/android_linux.rs:45:21
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let count = fd_count_cur().unwrap();
[INFO] [stdout]    |                     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `fd::android_linux::fd_count_cur`
[INFO] [stdout]   --> src/fd/android_linux.rs:52:21
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let count = fd_count_cur().unwrap();
[INFO] [stdout]    |                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `cpu::android_linux::ThreadStat::cpu`
[INFO] [stdout]    --> src/cpu/mod.rs:159:16
[INFO] [stdout]     |
[INFO] [stdout] 159 |         self.0.cpu()
[INFO] [stdout]     |                ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/io/mod.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 65 |         return get_process_io_stats_impl();
[INFO] [stdout]    |         ---------------------------------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 68 |     anyhow::bail!("cannot get I/O stats: this platform is not supported");
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `anyhow::bail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `pid` is never read
[INFO] [stdout]   --> src/cpu/mod.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub struct ProcessStat {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 69 |     pid: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `CPU_INFO` is never used
[INFO] [stdout]   --> src/cpu/android_linux.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub static CPU_INFO: Lazy<CpuInfo> =
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `current_task` is never used
[INFO] [stdout]   --> src/cpu/android_linux.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn current_task() -> anyhow::Result<Task> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `cur` and `build` are never used
[INFO] [stdout]    --> src/cpu/android_linux.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout] 142 | impl ThreadStat {
[INFO] [stdout]     | --------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub fn cur() -> std::io::Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 156 |     pub fn build(tid: ThreadId)-> std::io::Result<Self>{
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_cputime` is never used
[INFO] [stdout]    --> src/cpu/android_linux.rs:214:8
[INFO] [stdout]     |
[INFO] [stdout] 214 | pub fn process_cputime<T: Into<i32>>(pid: T)
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fd_count_pid` is never used
[INFO] [stdout]  --> src/fd/android_linux.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn fd_count_pid<T: Into<u32>>(pid: T)
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fd_count_cur` is never used
[INFO] [stdout]   --> src/fd/android_linux.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn fd_count_cur() -> std::io::Result<usize> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `HandleUpgrade` is never used
[INFO] [stdout]  --> src/utils/ptr_upgrade.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub trait HandleUpgrade: Sized {
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `cpu::android_linux::ThreadStat::cpu`
[INFO] [stdout]    --> src/cpu/mod.rs:159:16
[INFO] [stdout]     |
[INFO] [stdout] 159 |         self.0.cpu()
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `cpu::ThreadStat::cpu`
[INFO] [stdout]    --> src/cpu/mod.rs:208:26
[INFO] [stdout]     |
[INFO] [stdout] 208 |         let usage = stat.cpu().unwrap();
[INFO] [stdout]     |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `cpu::ThreadStat::cpu`
[INFO] [stdout]    --> src/cpu/mod.rs:219:26
[INFO] [stdout]     |
[INFO] [stdout] 219 |         let usage = stat.cpu().unwrap();
[INFO] [stdout]     |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/io/mod.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 65 |         return get_process_io_stats_impl();
[INFO] [stdout]    |         ---------------------------------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 68 |     anyhow::bail!("cannot get I/O stats: this platform is not supported");
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `anyhow::bail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0658`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `perfmon` (lib test) due to 1 previous error; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "f33576beeab8696014b1d0ae221dcdf6a4c4ba259395aadd1f6c778152ef728e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f33576beeab8696014b1d0ae221dcdf6a4c4ba259395aadd1f6c778152ef728e", kill_on_drop: false }`
[INFO] [stdout] f33576beeab8696014b1d0ae221dcdf6a4c4ba259395aadd1f6c778152ef728e
